

<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<h2>My clan</h2>

<c:if test="${clan != null}">
    <h3>My clan title is ${clan.title}</h3>
    Members: <br/><br/>
    <c:forEach items="${bandits}" var="bandit">
        ${bandit.user.title} <br/>
    </c:forEach>
</c:if>
        
<c:if test="${clan == null}">
    <h3>I'm alone, I have no clan :(</h3>
</c:if>
